[INFO] cloning repository https://github.com/uma0317/nano_drum
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uma0317/nano_drum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuma0317%2Fnano_drum", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuma0317%2Fnano_drum'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 578a0d04624dc5cd092a1b34d2fd64579b46fb6a
[INFO] checking uma0317/nano_drum against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuma0317%2Fnano_drum" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] [stderr] Checking out files:  73% (88/119)   
Checking out files:  74% (89/119)   
Checking out files:  75% (90/119)   
Checking out files:  76% (91/119)   
Checking out files:  77% (92/119)   
Checking out files:  78% (93/119)   
Checking out files:  79% (95/119)   
Checking out files:  80% (96/119)   
Checking out files:  81% (97/119)   
Checking out files:  82% (98/119)   
Checking out files:  83% (99/119)   
Checking out files:  84% (100/119)   
Checking out files:  85% (102/119)   
Checking out files:  86% (103/119)   
Checking out files:  87% (104/119)   
Checking out files:  88% (105/119)   
Checking out files:  89% (106/119)   
Checking out files:  90% (108/119)   
Checking out files:  91% (109/119)   
Checking out files:  92% (110/119)   
Checking out files:  93% (111/119)   
Checking out files:  94% (112/119)   
Checking out files:  95% (114/119)   
Checking out files:  96% (115/119)   
Checking out files:  97% (116/119)   
Checking out files:  98% (117/119)   
Checking out files:  99% (118/119)   
Checking out files: 100% (119/119)   
Checking out files: 100% (119/119), done.
[INFO] validating manifest of git repo https://github.com/uma0317/nano_drum on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/uma0317/nano_drum
[INFO] removed path dependency midir from git repo https://github.com/uma0317/nano_drum
[INFO] finished tweaking git repo https://github.com/uma0317/nano_drum
[INFO] tweaked toml for git repo https://github.com/uma0317/nano_drum written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/uma0317/nano_drum already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a64d2e0e1ec53f0362b2414f9e2187a5e549fc1bea375305886f7720f3cd3a72
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a64d2e0e1ec53f0362b2414f9e2187a5e549fc1bea375305886f7720f3cd3a72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a64d2e0e1ec53f0362b2414f9e2187a5e549fc1bea375305886f7720f3cd3a72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a64d2e0e1ec53f0362b2414f9e2187a5e549fc1bea375305886f7720f3cd3a72", kill_on_drop: false }`
[INFO] [stdout] a64d2e0e1ec53f0362b2414f9e2187a5e549fc1bea375305886f7720f3cd3a72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acb9e35d67fe93af6cc5258c889f9c1f2d1cb897016a038e21d4fe88afefa356
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "acb9e35d67fe93af6cc5258c889f9c1f2d1cb897016a038e21d4fe88afefa356", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking memalloc v0.1.0
[INFO] [stderr]    Compiling alsa-sys v0.3.0
[INFO] [stderr]     Checking alsa v0.4.2
[INFO] [stderr]     Checking midir v0.7.0
[INFO] [stderr]     Checking nano_drum v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `winapi`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of undeclared type or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]   --> src/main.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |         EnumWindows(Some(enum_proc), 0);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:32:59
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:32:70
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     if GetWindowTextW(hwnd, &mut buf[0], 1024) > 0 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 |             SetForegroundWindow(hwnd);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]   --> src/main.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope
[INFO] [stdout]   --> src/main.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 |     TRUE
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn click_with_pos(pos: (i32, i32)) {
[INFO] [stdout]    |                  - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] 54 |     unsafe {
[INFO] [stdout] 55 |         let mut input = mem::zeroed::<INPUT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |         input.type_ = INPUT_MOUSE;
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/main.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope
[INFO] [stdout]   --> src/main.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/main.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope
[INFO] [stdout]   --> src/main.rs:58:47
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MOVE` in this scope
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:62:46
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/main.rs:62:69
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/main.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 63 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:63:43
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn click_with_pos(pos: (i32, i32)) {
[INFO] [stdout]    |                  - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:69:33
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] 68 |     unsafe {
[INFO] [stdout] 69 |         let mut input = mem::zeroed::<INPUT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/main.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         input.type_ = INPUT_MOUSE;
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:71:30
[INFO] [stdout]    |
[INFO] [stdout] 71 |         input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/main.rs:71:53
[INFO] [stdout]    |
[INFO] [stdout] 71 |         input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/main.rs:72:3
[INFO] [stdout]    |
[INFO] [stdout] 72 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] ...
[INFO] [stdout] 72 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stdout]   --> src/main.rs:73:33
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<POINT>`
[INFO] [stdout] ...
[INFO] [stdout] 73 |         let mut point = mem::zeroed::<POINT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]   --> src/main.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let b = GetCursorPos(&mut point);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PlaySoundW` in this scope
[INFO] [stdout]    --> src/main.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |                     let ret = PlaySoundW(
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SND_FILENAME` in this scope
[INFO] [stdout]    --> src/main.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         SND_FILENAME | SND_ASYNC,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SND_ASYNC` in this scope
[INFO] [stdout]    --> src/main.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         SND_FILENAME | SND_ASYNC,
[INFO] [stdout]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `stdout`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn run() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nano_drum`.
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope
[INFO] [stdout]   --> src/main.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 |         EnumWindows(Some(enum_proc), 0);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:32:59
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/main.rs:32:70
[INFO] [stdout]    |
[INFO] [stdout] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL {
[INFO] [stdout]    |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     if GetWindowTextW(hwnd, &mut buf[0], 1024) > 0 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 |             SetForegroundWindow(hwnd);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope
[INFO] [stdout]   --> src/main.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HWND_TOP` in this scope
[INFO] [stdout]   --> src/main.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope
[INFO] [stdout]   --> src/main.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |             SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW);
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:42:2
[INFO] [stdout]    |
[INFO] [stdout] 42 |     TRUE
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn click_with_pos(pos: (i32, i32)) {
[INFO] [stdout]    |                  - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] 54 |     unsafe {
[INFO] [stdout] 55 |         let mut input = mem::zeroed::<INPUT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |         input.type_ = INPUT_MOUSE;
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/main.rs:57:30
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope
[INFO] [stdout]   --> src/main.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope
[INFO] [stdout]   --> src/main.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope
[INFO] [stdout]   --> src/main.rs:58:47
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN);
[INFO] [stdout]    |                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_MOVE` in this scope
[INFO] [stdout]   --> src/main.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:62:46
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/main.rs:62:69
[INFO] [stdout]    |
[INFO] [stdout] 62 |             MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/main.rs:63:3
[INFO] [stdout]    |
[INFO] [stdout] 63 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:63:43
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn click_with_pos(pos: (i32, i32)) {
[INFO] [stdout]    |                  - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] ...
[INFO] [stdout] 63 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:69:33
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] 68 |     unsafe {
[INFO] [stdout] 69 |         let mut input = mem::zeroed::<INPUT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope
[INFO] [stdout]   --> src/main.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |         input.type_ = INPUT_MOUSE;
[INFO] [stdout]    |                       ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope
[INFO] [stdout]   --> src/main.rs:71:30
[INFO] [stdout]    |
[INFO] [stdout] 71 |         input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope
[INFO] [stdout]   --> src/main.rs:71:53
[INFO] [stdout]    |
[INFO] [stdout] 71 |         input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP;
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout]   --> src/main.rs:72:3
[INFO] [stdout]    |
[INFO] [stdout] 72 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout]   --> src/main.rs:72:43
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<INPUT>`
[INFO] [stdout] ...
[INFO] [stdout] 72 |         SendInput(1, &mut input, mem::size_of::<INPUT>() as i32);
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `POINT` in this scope
[INFO] [stdout]   --> src/main.rs:73:33
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn click() {
[INFO] [stdout]    |         - help: you might be missing a type parameter: `<POINT>`
[INFO] [stdout] ...
[INFO] [stdout] 73 |         let mut point = mem::zeroed::<POINT>();
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope
[INFO] [stdout]   --> src/main.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let b = GetCursorPos(&mut point);
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PlaySoundW` in this scope
[INFO] [stdout]    --> src/main.rs:147:16
[INFO] [stdout]     |
[INFO] [stdout] 147 |                     let ret = PlaySoundW(
[INFO] [stdout]     |                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SND_FILENAME` in this scope
[INFO] [stdout]    --> src/main.rs:150:7
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         SND_FILENAME | SND_ASYNC,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SND_ASYNC` in this scope
[INFO] [stdout]    --> src/main.rs:150:22
[INFO] [stdout]     |
[INFO] [stdout] 150 |                         SND_FILENAME | SND_ASYNC,
[INFO] [stdout]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `stdout`
[INFO] [stdout]  --> src/main.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{stdin, stdout, Write};
[INFO] [stdout]   |                      ^^^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:89:28
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn run() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "acb9e35d67fe93af6cc5258c889f9c1f2d1cb897016a038e21d4fe88afefa356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acb9e35d67fe93af6cc5258c889f9c1f2d1cb897016a038e21d4fe88afefa356", kill_on_drop: false }`
[INFO] [stdout] acb9e35d67fe93af6cc5258c889f9c1f2d1cb897016a038e21d4fe88afefa356
